<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        #userID{
            border-collapse: collapse;
            border-color: blue;
        }
        th{
            color: red;
        }
    </style>
</head>
<body>
    <table id="userID" border="1">
        <caption>表格名称</caption>
        <tr>
            <th>姓名</th>
            <th>班级</th>
            <th>学号</th>
            <th rowspan="4">其他</th>
        </tr>
        <tr>
            <td>张三</td>
            <td>3班</td>
            <td>202301</td>
        </tr>
        <tr>
            <td>李四</td>
            <td>3班</td>
            <td>202302</td>
        </tr>
        <tr>
            <td colspan="4">其他</td>
        </tr>
    </table>
    <hr style="border-width: 10px;" color="red">
</body>
</html>